"""
URL configuration for codevaluation project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.urls import path
from evaluation import views
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin


urlpatterns = [
    path('fine-se/', views.index),
    path('login/', views.user_login),
    path('register/', views.register),
    path('chat/', views.chat),
    path('result/', views.result),
    path('train/', views.train),
    path('predict/', views.predict),
    path('logout/', views.user_logout),
    path('forgot/', views.forgot),
    path('reset/', views.reset, name='reset'),
    path('verify-user/', views.forgot, name='verify_user'),
    path('content/', views.content),
    path('trainresult/', views.trainresult),
    path('predictchat/', views.predictchat),
    path('admin/', admin.site.urls),
    path('manager/', views.manager),
    path('worker/', views.worker),
    path('handle_prediction_request/', views.handle_prediction_request, name='handle_prediction_request'),
    path('rename/', views.rename),
    path('join_project/', views.join_project, name='join_project'),
    path('assign/', views.assign),
    path('save_results/', views.save_results),
    path('assigncontent/', views.assigncontent, name='assigncontent'),
    path('save_assign/', views.save_assign),
    path('son_task/', views.son_task),
    path('monitor/', views.monitor),
    path('monitorframe/', views.monitorframe),

]
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
